package cn.itcast.DTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderDTO {
    private String name;
    private Integer age;
    private Integer sex;
    private String phone;
    private String userNumber;
    private Integer checkInNumber;
    private String nores;
    private Integer cashPledge;
    private Integer cashPledgeStatus;
    private String roomNumber;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime checkInDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime expectedCheckOutDate;
    private Integer status;
}
